Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use images from docker_base_images repository #34

Merged
merged 3 commits into from
Oct 18, 2024

Conversation

rrsettgast
Copy link
Member

@rrsettgast rrsettgast commented Jun 5, 2024

This PR deletes the docker files from this repo, and relies on images from https://github.com/GEOS-DEV/docker_base_images

Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5925f01) to head (d5b53d3).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #34   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           34        34           
  Lines         1088      1088           
=========================================
  Hits          1088      1088           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rrsettgast rrsettgast force-pushed the feature/use_geos_base_images branch from dfd8efa to 0386e98 Compare June 5, 2024 10:48
@rrsettgast rrsettgast self-assigned this Jun 5, 2024
"build": {
"dockerfile": "Dockerfile",
"args": {
"docker_image_tag_hash": "b5b06ad736cc8f2df227dabf8ff1da1a2f538939"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An idea could be to also have a 22.04-b5b....939?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean to avoid the long hash?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not know how you generate this hash. It looks to me that you use one unique image for all your builds?
In geos, we "play" with the repository name (like ubuntu-22-gcc10...) and the hash is unique and matches versions of the TPLs. It depends on what you want to do for Shiva. Still, it's no big deal to make this evolve in the future.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the hash is from the docker_base_images repository. I would like to standardize the images we use for testing across the project repos.

Comment on lines +13 to +23
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"fredericbonnet.cmake-test-adapter",
"GitHub.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"ms-vscode.cpptools-extension-pack",
"redhat.vscode-xml"
]
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this file is mainly if you're using codespaces, which is still not your case?
If you want, you can simplify it a lot, or simply embed the b5...39 hash into your continuousIntegration.yml with some echo "DOCKER_IMAGE_TAG_HASH=b5...39" >> "$GITHUB_OUTPUT".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we would want to enable codespaces even though I don't personally use it now....I would like to try it soon.

Copy link
Collaborator

@TotoGaz TotoGaz Jun 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, it believe it's a great feature at low (setup and maintenance) cost!

@rrsettgast rrsettgast merged commit 91e2f33 into main Oct 18, 2024
21 checks passed
@rrsettgast rrsettgast deleted the feature/use_geos_base_images branch October 18, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants